package com.study.goal.service;



import com.study.common.core.domain.PageQuery;
import com.study.common.core.page.TableDataInfo;
import com.study.goal.domain.bo.ExecutionRecordsBo;
import com.study.goal.domain.vo.ExecutionRecordsVo;

import java.util.Collection;
import java.util.List;

/**
 * 执行记录Service接口
 *
 * @author MT
 * @date 2025-09-03
 */
public interface IExecutionRecordsService {

    /**
     * 查询执行记录
     */
    ExecutionRecordsVo queryById(Long id);

    /**
     * 查询执行记录列表
     */
    TableDataInfo<ExecutionRecordsVo> queryPageList(ExecutionRecordsBo bo, PageQuery pageQuery);

    /**
     * 查询执行记录列表
     */
    List<ExecutionRecordsVo> queryList(ExecutionRecordsBo bo);

    /**
     * 新增执行记录
     */
    Boolean insertByBo(ExecutionRecordsBo bo);

    /**
     * 修改执行记录
     */
    Boolean updateByBo(ExecutionRecordsBo bo);

    /**
     * 校验并批量删除执行记录信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
}
